package com.study.demo.gsbean.demo2;

/**
 * @author: elvin
 * @time: 2019-01-24 09:04
 * @desc:
 **/
public class User {

	//private Integer id;

	private String userName;

	private String email;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public User() {
		System.out.println("User() at " + System.currentTimeMillis());
	}

	/*public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}*/

	@Override
	public String toString() {
		return "User{" +
				"userName='" + userName + '\'' +
				", email='" + email + '\'' +
				'}';
	}
}
